.class Lcom/waiqin365/lightapp/im/adapter/cb;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/hyphenate/EMCallBack;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/im/adapter/cs;

.field final synthetic b:Lcom/waiqin365/lightapp/im/adapter/bk;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/im/adapter/bk;Lcom/waiqin365/lightapp/im/adapter/cs;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/im/adapter/cb;->b:Lcom/waiqin365/lightapp/im/adapter/bk;

    iput-object p2, p0, Lcom/waiqin365/lightapp/im/adapter/cb;->a:Lcom/waiqin365/lightapp/im/adapter/cs;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onError(ILjava/lang/String;)V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/adapter/cb;->b:Lcom/waiqin365/lightapp/im/adapter/bk;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/adapter/bk;->a(Lcom/waiqin365/lightapp/im/adapter/bk;)Landroid/app/Activity;

    move-result-object v0

    new-instance v1, Lcom/waiqin365/lightapp/im/adapter/cd;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/im/adapter/cd;-><init>(Lcom/waiqin365/lightapp/im/adapter/cb;)V

    invoke-virtual {v0, v1}, Landroid/app/Activity;->runOnUiThread(Ljava/lang/Runnable;)V

    return-void
.end method

.method public onProgress(ILjava/lang/String;)V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/adapter/cb;->b:Lcom/waiqin365/lightapp/im/adapter/bk;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/adapter/bk;->a(Lcom/waiqin365/lightapp/im/adapter/bk;)Landroid/app/Activity;

    move-result-object v0

    new-instance v1, Lcom/waiqin365/lightapp/im/adapter/ce;

    invoke-direct {v1, p0, p1}, Lcom/waiqin365/lightapp/im/adapter/ce;-><init>(Lcom/waiqin365/lightapp/im/adapter/cb;I)V

    invoke-virtual {v0, v1}, Landroid/app/Activity;->runOnUiThread(Ljava/lang/Runnable;)V

    return-void
.end method

.method public onSuccess()V
    .locals 2

    const-string/jumbo v0, "msg"

    const-string/jumbo v1, "send image message successfully"

    invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/adapter/cb;->b:Lcom/waiqin365/lightapp/im/adapter/bk;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/adapter/bk;->a(Lcom/waiqin365/lightapp/im/adapter/bk;)Landroid/app/Activity;

    move-result-object v0

    new-instance v1, Lcom/waiqin365/lightapp/im/adapter/cc;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/im/adapter/cc;-><init>(Lcom/waiqin365/lightapp/im/adapter/cb;)V

    invoke-virtual {v0, v1}, Landroid/app/Activity;->runOnUiThread(Ljava/lang/Runnable;)V

    return-void
.end method
